export default {
    param: {
        id: { type: 'Primary', props: { label: '主键' } },
        name: {
            type: 'String',
            props: { label: '名称', allowClear: true, default: '默认名称', readonly: true, required: true, description: `一大堆说明文字/并且计算折行`, size: 'small' },
            Rule: { Error: '必须为整数', RegExp: "^\\d+$" },
            Event: {
                Value: 'state + 1',
                Enable: 'state == 0',
                ParamOption: {
                    'state == 0': { readonly: false, required: true, label: '经度' },
                    'state == 1': { readonly: true, required: true, label: 'longitude' },
                    'state != 1 && state != 0': { readonly: false, required: false, label: 'lalal' },
                },
            }
        },
        state: {
            type: 'Select',
            props: { label: '状态', allowClear: true, default: 0, description: `一大堆说明文字/并且计算折行`, size: 'small', },
            dict: [{ value: 0, label: '状态1' }, { value: 1, label: '状态2' }, { value: 2, label: '状态3' }]
        },
    },
    adorn: {
        EditAntennaEquation: {
            type: 'Button',
            props: { readonly: false, text: '编辑/天线方程', EventName: 'ClickTest12' },
            Event: {
                ParamOption: {
                    'equationType == 0': { text: '编辑/天线方程', EventName: 'ClickTest12' },
                    'equationType != 0': { text: '编辑天线方程', EventName: 'ClickTest' },
                },
            }
        },
    },
    view: {

    },
}